﻿@{

    ViewBag.Title = "ActionName";
}

<h2>ActionName</h2>

<div>The controller is: @ViewBag.Controller</div>
<div>The action is: @ViewBag.Action</div>

@*<div>
        <p>This method of embedding the outgoing URL has a drawback of tedious updates when the URL schema is changed. So do not follow this approach </p>
        <a href="Customer/List" target="_blank"> This is a outgoing link to customer</a>
    </div>*@

<div>@Html.ActionLink("Sample outgoing URL", "CustomVariable", new { id = "Hello" })</div>

<div> @Html.ActionLink("This targets another controller", "Index", "Customer", null, new { id = "myAnchorID", @class = "myCssClass" })</div>

<div>This is a URL: @Url.Action("Index", "Home", new { id = "MyId" })</div>